package com.taijihuabao.modules.model.checkin.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 考勤导出参数
 *
 * @author changhui.tu
 */
@Data
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("考勤导出参数")
public class CheckInExportDTO {

    /**
     * 考勤日期
     */
    @ApiModelProperty(value = "考勤日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private String dateTime;

    /**
     * 用户Id集合
     */
    @ApiModelProperty(value = "用户Id集合")
    private List<Long> users;

}
